#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2021/11/10 18:05
# @Author  : huidong.bai
# @File    : urls.py
# @Software: PyCharm

from django.urls import path

from django.urls import re_path
from . import views

urlpatterns = [
    # path('speakerDetail/', views.AllSpeakerStatusViewSet.as_view()),
    path('speakerDetail/', views.SpeakerStateAPIView.as_view()),
    # path('speakerDetail/update/', views.SpeakerStatusDetailAPIView.as_view()),
    path('speakerDetail/available/', views.AvailableSpeakerStatusViewSet.as_view()),
    path('speakerDetail/setStatus/', views.SpeakerStatusSetAPIView.as_view()),
    re_path(r'speakerParams/(?P<pk>\d+)/$', views.QuerySpeakerParamAPIView.as_view()),
]
